import Vue from 'vue'
import HteUpload,{config} from '@/components/hteUpload/index'
import { ACCESS_TOKEN } from "@/store/mutation-types"
const token = Vue.ls.get(ACCESS_TOKEN)
const  baseURL = process.env.VUE_APP_API_BASE_URL
config.token = token
config.headers=  {'X-Access-Token':token}
config.baseURL = baseURL
config.mitmURL = 'https://jimmywarting.github.io/StreamSaver.js/mitm.html?version=2.0.0'
Vue.use(HteUpload)